﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Hovedsiden
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <div class="two-column-container">
        <div class="two-column-left">
            <h1>Siste nytt</h1>
            <% Html.PartialRequest(new { controller = "Announcement", action = "list" }); %>
        </div>
        <div class="two-column-right">
            <h1>Fra galleriet</h1>
            <% Html.PartialRequest(new { controller = "Photo", action = "Random" }); %>
        </div>
        <div class="clear">
        </div>
    </div>             
</asp:Content>

<asp:Content runat="server" ContentPlaceHolderID="LeftSideContent">
    <ul>
        <li class="first"><%= Html.ActionLink("Se flere nyheter", "Index", "Announcement") %></li>
        <li><%= Html.ActionLink("Se flere bilder", "Index", "Album") %></li>
    </ul>
</asp:Content>
